<div id="content" class="configure">
	<p class="title"><?php echo lang('configure_images'); ?></p>
	<form method="POST" action="">
		<table>
			<?php while($image = $images->fetch($i)): ?>
			<?php if($i%2 == 1): ?><tr><?php endif; ?>
			<td class="image">
				<div>
					<?php $image->output('square'); ?>
				</div>
			</td>
			<td class="form<?php if($i%2 == 0): ?> right<?php endif; ?>">
				<input class="text" type="text" name="title<?php echo $image->id; ?>" title="<?php echo lang('title'); ?>" maxlength="25" value="<?php echo $image->title(); ?>"/>
				<textarea title="<?php echo lang('description'); ?>" name="description<?php echo $image->id; ?>" maxlength="255"></textarea>
				<span class="checkbox">
					<input type="checkbox" name="private<?php echo $image->id; ?>"/>
					<span><?php echo lang('private'); ?></span>
				</span>
			</td>
			<?php if($i%2 == 0): ?></tr><?php endif; ?>
			<?php endwhile; ?>
			<?php if($i%2 == 1): ?><td colspan="2"></td></tr><?php endif; ?>
		</table>
		<input class="button enabled initiate" type="submit" name="configure" value="<?php echo lang('save_images'); ?>"/>
	</form>
</div>